package com.h2.ref.server.web;

public class ViewConstants {
   
   //Error
   
   public static final String ERROR = "/error";
   
   public static final String ERROR_GENERIC = ERROR + "/generic";
   
   public static final String ERROR_GENERIC_VIEW = "error.generic";
   
   public static final String ERROR_NOT_FOUND = ERROR + "/notFound";
   
   public static final String ERROR_NOT_FOUND_VIEW = "error.notFound";
   
   
   //Spring
   
   public static final String REDIRECT = "redirect:";
   
   //
   
   public static final String SIGNIN = "/login.html";
   
   public static final String SIGNOUT = "/logout";
   
   
   //User

   public static final String REGISTER_USER = "/register/user.html";
   
   public static final String REGISTER_USER_VIEW = "user.registration";
   
   public static final String RECOVER_USER = "/recover/user";
   
   //Account
   
   public static final String ACCOUNT = "/account";
   
   public static final String ACCOUNT_DELETE = ACCOUNT + "/delete";
   
   public static final String ACCOUNT_EMAIL_ACTIVATE = ACCOUNT + "/activate";
   
   public static final String ACCOUNT_EMAIL_SEND_ACTIVATE = ACCOUNT + "/sendActivateEmail";
   
   
   //Settings
   
   public static final String SETTINGS = ACCOUNT + "/settings";
   
   public static final String SETTINGS_GENERAL = SETTINGS + "/general";
   
   public static final String SETTINGS_VIEW = "settings.general";
   
   
   //Connect
   
   public static final String SETTINGS_CONNECT = SETTINGS + "/connect";
   
   public static final String SETTINGS_CONNECTIONS_VIEW = "settings.connections";
   
   public static final String SETTINGS_CONNECT_FACEBOOK = SETTINGS_CONNECT + "/connect";
   
   
   //Login/Register
   
   public static final String LOGIN = "/login";
   
   public static final String SOCIAL = "/social";
   
   public static final String LOGIN_SOCIAL = LOGIN + SOCIAL;
   
   public static final String LOGIN_SOCIAL_VIEW = "login.social";
   
   public static final String REGISTER = "/register";
   
   public static final String REGISTER_SOCIAL = REGISTER + SOCIAL;
   
   public static final String REGISTER_SOCIAL_VIEW = "register.social";
   
   
   //Settings - Update
   
   public static final String SETTINGS_UPDATE_NAME =
         SETTINGS_GENERAL + "/update/name";
   
   public static final String SETTINGS_UPDATE_NAME_VIEW =
         "settings.general.update.name";
   
   public static final String SETTINGS_UPDATE_PASSWORD =
         SETTINGS_GENERAL + "/update/password";
   
   public static final String SETTINGS_UPDATE_PASSWORD_VIEW =
         "settings.general.update.password";
   
   public static final String SETTINGS_UPDATE_EMAIL =
         SETTINGS_GENERAL + "/update/email";
   
   public static final String SETTINGS_UPDATE_EMAIL_VIEW =
         "settings.general.update.email";
   
   
   //OpenID
   
   public static final String SETTINGS_OPENID = SETTINGS + "/openId";
   
   public static final String SETTINGS_OPENID_VIEW = "openid.settings";
   
   public static final String SETTINGS_OPENID_ADD = SETTINGS_OPENID + "/add";
   
   public static final String SETTINGS_OPENID_REMOVE = SETTINGS_OPENID + "/delete";
   
   
   //OpenID - Register
   
   public static final String REGISTER_USER_OPENID = "/register/openId.html";
   
   
   //Facebook
   
   public static final String SETTINGS_FACEBOOK = SETTINGS + "/facebook";
   
   public static final String SETTINGS_FACEBOOK_VIEW = "settings.facebook";
   
   public static final String SETTINGS_FACEBOOK_PROFILE = SETTINGS_FACEBOOK + "/profile";
   
   public static final String SETTINGS_FACEBOOK_PROFILE_VIEW = "settings.facebook.profile";
   
   public static final String LOGIN_USER_FACEBOOK = "/login/facebook.html";
   
   public static final String REGISTER_USER_FACEBOOK = "/register/facebook";
   
   public static final String REGISTER_USER_FACEBOOK_VIEW = "user.registration.facebook";

}
